package com.openbravo.data.loader;

import com.openbravo.basic.BasicException;

public class SerializerWriteBasicExt
  implements SerializerWrite<Object[]>
{
  private Datas[] m_classes;
  private int[] m_index;

  public SerializerWriteBasicExt(Datas[] paramArrayOfDatas, int[] paramArrayOfInt)
  {
    this.m_classes = paramArrayOfDatas;
    this.m_index = paramArrayOfInt;
  }

  public void writeValues(DataWrite paramDataWrite, Object[] paramArrayOfObject)
    throws BasicException
  {
    for (int i = 0; i < this.m_index.length; i++)
      this.m_classes[this.m_index[i]].setValue(paramDataWrite, i + 1, paramArrayOfObject[this.m_index[i]]);
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.data.loader.SerializerWriteBasicExt
 * JD-Core Version:    0.6.0
 */